﻿@{
    Layout = "~/Views/Shared/_IVSLayout.cshtml";
}
@if (@ViewBag.id == 1)
{
    <div id="main">
        <!-- InstanceBeginEditable name="EditRegion1" -->
        <h2>
            Edit Passenger</h2>
        <!-- InstanceEndEditable -->
        <div id="error" class="error">
        </div>
        <div id="Div1" class="success">
        </div>
        <!-- InstanceBeginEditable name="EditRegion2" -->
        <p>
        </p>
        <p>
        </p>
        <table class="inputForm">
            <tbody>
                <tr>
                    <th class="th70">
                        Code<span class="requirement">*</span>
                    </th>
                    <td>
                        <input id="txtCode" class="txt125" value="PS001" type="text">
                    </td>
                    <th scope="row" class="th70">
                        Name VN<span class="requirement">*</span>
                    </th>
                    <td>
                        <input id="txtNameVN" class="txt125" value="Hải" type="text">
                    </td>
                </tr>
                <tr>
                    <th scope="row">
                        Name EN<span class="requirement">*</span>
                    </th>
                    <td>
                        <input id="txtNameEN" class="txt125" value="Peter" type="text">
                    </td>
                    <th>
                        Birthday<span class="requirement">*</span>
                    </th>
                    <td>
                        <input id="txtFromDate" class="txt125" value="1980/07/07" type="text">
                    </td>
                </tr>
                <tr>
                    <th scope="row" >
                        Sex<span class="requirement">*</span>
                    </th>
                    <td>
                        <select name="select2" class="txt125">
                            <option value=""></option>
                            <option value="Male" selected="true">Male</option>
                            <option value="FeMale">FeMale</option>
                        </select>
                    </td>
                    <th scope="row" >
                        Tel<span class="requirement">*</span>
                    </th>
                    <td>
                        <input id="txtTel" class="txt125" value="84-123456789" type="text">
                    </td>
                </tr>
                <tr>
                    <th>
                        Email<span class="requirement">*</span>
                    </th>
                    <td>
                        <input id="txtEmail" class="txt125" value="peter@gmail.com" type="text">
                    </td>
                    <th scope="row" >
                        Address<span class="requirement">*</span>
                    </th>
                    <td>
                        <input id="txtAddress" style="width: 250px;" value="1234 Lạc Long Quân, Phường 10, Quận 11"
                            type="text">
                    </td>
                </tr>
            </tbody>
        </table>
        <input name="btnSave" type="button" value="Save" onclick="location.href='/MSPS00'" />
        <input name="btnBack" type="button" value="Back" onclick="location.href='/MSPS00'" />
        <div code="divList">
            <div code="divList">
                <div class="success">
                    <p>
                    </p>
                </div>
            </div>
        </div>
        <!-- InstanceEndEditable -->
    </div>
}
else
{
    <div id="main">
        <!-- InstanceBeginEditable name="EditRegion1" -->
        <h2>
            Add Passenger</h2>
        <!-- InstanceEndEditable -->
        <div id="error" class="error">
        </div>
        <div id="Div1" class="success">
        </div>
        <!-- InstanceBeginEditable name="EditRegion2" -->
        <div id="tabs-2">
            <table class="inputForm">
                <tbody>
                    <tr>
                        <th class="th70">
                            Code<span class="requirement">*</span>
                        </th>
                        <td>
                            <input id="txtCode" class="txt125" value="" type="text">
                        </td>
                        <th scope="row" class="th70" >
                            Name VN<span class="requirement">*</span>
                        </th>
                        <td>
                            <input id="txtNameVN" class="txt125" value="" type="text">
                        </td>
                    </tr>
                    <tr>
                        <th scope="row" >
                            Name EN<span class="requirement">*</span>
                        </th>
                        <td>
                            <input id="txtNameEN" class="txt125" value="" type="text">
                        </td>
                        <th>
                            Birthday<span class="requirement">*</span>
                        </th>
                        <td>
                            <input id="txtFromDate" class="txt125" value="" type="text">
                        </td>
                    </tr>
                    <tr>
                        <th scope="row" >
                            Sex<span class="requirement">*</span>
                        </th>
                        <td>
                            <select name="select2" class="txt125">
                                <option value=""></option>
                                <option value="Male">Male</option>
                                <option value="FeMale">FeMale</option>
                            </select>
                        </td>
                        <th scope="row" >
                            Tel<span class="requirement">*</span>
                        </th>
                        <td>
                            <input id="txtTel" class="txt125" value="" type="text">
                        </td>
                    </tr>
                    <tr>
                        <th>
                            Email<span class="requirement">*</span>
                        </th>
                        <td>
                            <input id="txtEmail" class="txt125" value="" type="text">
                        </td>
                        <th scope="row" >
                            Address<span class="requirement">*</span>
                        </th>
                        <td>
                            <input id="txtAddress" style="width: 250px;" value="" type="text">
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <input name="btnSave" type="button" value="Save" onclick="location.href='/MSPS00'" />
        <input name="btnBack" type="button" value="Back" onclick="location.href='/MSPS00'" />
        <div code="divList">
            <div code="divList">
                <div class="success">
                    <p>
                    </p>
                </div>
            </div>
        </div>
        <!-- InstanceEndEditable -->
    </div>
}